<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!-- <div class="am-cf admin-main"> -->
  <!-- sidebar start -->
  <div class="admin-sidebar am-offcanvas" id="admin-offcanvas">
    <div class="am-offcanvas-bar admin-offcanvas-bar" style="height: 300px;">
      <ul class="am-list admin-sidebar-list">
        <li><a href="admin"><span class="am-icon-home"></span> 首页</a></li>
        <%
        	if ((boolean) session.getAttribute("isAdmin")) {
        %>
        <li><a href="javascript:;" onclick="changeIframe('clients')"><span class="am-icon-table"></span> 客户端列表</a></li>
        <li><a href="javascript:;" onclick="changeIframe('createClient')"><span class="am-icon-table"></span> 注册客户端</a></li>
      	<% }%>
      </ul>
    </div>
<!--   </div> -->
  <!-- sidebar end -->
</div>
<a class="am-icon-btn am-icon-th-list am-show-sm-only admin-menu" data-am-offcanvas="{target: '#admin-offcanvas'}"></a>
